@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

// For a custom scaleIn, define `--scaleInFrom` in the element's style attribute.
// For example: .classToAnimate { --scaleInFrom: 0.5; animation: scaleIn 50ms; }
@keyframes scaleIn {
  from {
    transform: scale(var(--scaleInFrom, 0.95));
  }
  to {
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(var(--slideUpFrom, 1.5px));
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideDownXs {
  from {
    transform: translateY(-1.5px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideLeftPx {
  from {
    transform: translateX(1px);
  }
  to {
    transform: translateY(0);
  }
}
